package com.ningxia.water.enums;

public enum JobStatusEnum {

    /**
     * code=0=停止
     */
    STOP("0", "停止"),
    /**
     * code=1=运行
     */
    RUNNING("1", "运行");

    private final String code;
    private final String value;

    JobStatusEnum(String code, String value) {
        this.code = code;
        this.value = value;
    }

    /**
     * 获取code
     */
    public String getCode() {
        return code;
    }

    /**
     * 获取value
     */
    public String getValue() {
        return value;
    }

}
